import java.io.File;
import java.util.ArrayList;

import org.apache.commons.io.filefilter.WildcardFilter;

@SuppressWarnings("deprecation")
public class FileManager {
	static ArrayList<FileEntry> getFileList(String path)
	{
		ArrayList<FileEntry> fileList = new ArrayList<FileEntry>();
		for (String file : new File(path).list(new WildcardFilter(new String[] {"*.au", "*.wav"})))
		{
			fileList.add(new FileEntry(file));
		}
		return fileList;
	}
}
